package com.bw.service.impl;

import com.bw.domain.SysDictType;
import com.bw.domain.SysPost;
import com.bw.mapper.SysDictTypeMapper;
import com.bw.service.SysDictTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysDictTypeServiceImpl implements SysDictTypeService {

    @Autowired
    SysDictTypeMapper sysDictTypeMapper;

    @Override
    public List<SysDictType> list(SysDictType sysDictType) {
        return sysDictTypeMapper.list(sysDictType);
    }

    @Override
    public void deletes(List<String> asList) {
        sysDictTypeMapper.deletes(asList);
    }

    @Override
    public boolean save(SysDictType sysDictType) {
        return sysDictTypeMapper.save(sysDictType);
    }

    @Override
    public boolean update(SysDictType sysDictType) {
        return sysDictTypeMapper.update(sysDictType);
    }

    @Override
    public boolean removeById(Integer dictId) {
        return sysDictTypeMapper.removeById(dictId);
    }

    @Override
    public List<SysPost> list1() {
        return sysDictTypeMapper.list1();
    }

    @Override
    public void getDictTypeList(String dictType) {
        sysDictTypeMapper.getDictTypeList(dictType);
    }

    @Override
    public List<SysDictType> getlist2() {
        return sysDictTypeMapper.getlist2();
    }

    @Override
    public List<SysDictType> list2() {
        return sysDictTypeMapper.list2();
    }


}
